package com.task.manage.system.mapper;

import java.util.List;
import com.task.manage.system.domain.MerchantTaskPriority;

/**
 * 商家任务优先级Mapper接口
 * 
 * @author ruoyi
 * @date 2024-05-15
 */
public interface MerchantTaskPriorityMapper 
{
    /**
     * 查询商家任务优先级
     * 
     * @param id 商家任务优先级主键
     * @return 商家任务优先级
     */
    public MerchantTaskPriority selectMerchantTaskPriorityById(Long id);

    /**
     * 查询商家任务优先级列表
     * 
     * @param merchantTaskPriority 商家任务优先级
     * @return 商家任务优先级集合
     */
    public List<MerchantTaskPriority> selectMerchantTaskPriorityList(MerchantTaskPriority merchantTaskPriority);

    /**
     * 新增商家任务优先级
     * 
     * @param merchantTaskPriority 商家任务优先级
     * @return 结果
     */
    public int insertMerchantTaskPriority(MerchantTaskPriority merchantTaskPriority);

    /**
     * 修改商家任务优先级
     * 
     * @param merchantTaskPriority 商家任务优先级
     * @return 结果
     */
    public int updateMerchantTaskPriority(MerchantTaskPriority merchantTaskPriority);

    /**
     * 删除商家任务优先级
     * 
     * @param id 商家任务优先级主键
     * @return 结果
     */
    public int deleteMerchantTaskPriorityById(Long id);

    /**
     * 批量删除商家任务优先级
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMerchantTaskPriorityByIds(String[] ids);

    MerchantTaskPriority getMerchantTaskPriority(Long taskId);

    void deleteMerchantTaskPriorityByTaskIds(String[] ids);
}
